import { createApp } from 'vue';

import ElementPlus from 'element-plus';
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import "element-plus/dist/index.css";

import router from './router';
import store from './store';
import App from './App.vue';
import "./global.scss";

const app = createApp(App);

// 将icon图标组件全部都注册
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}

app.use(ElementPlus).use(router).use(store)
app.mount('#app');
